package com.lkc.controller;

import com.lkc.domain.ResponseResult;
import com.lkc.domain.dto.AnswerDto;
import com.lkc.domain.entity.Exam;
import com.lkc.service.ExamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @Title: ExamController
 * @Author 椰咩咩
 * @Package com.lkc.controller
 * @Date 2022/12/25 19:57
 * @description: Exam的控制层
 */
@RestController
@RequestMapping("/exam")
public class ExamController {

    @Autowired
    private ExamService examService;

    @GetMapping("/getByUid")
    public ResponseResult getByUid() {
        return examService.getByUid();
    }

}
